var log4js = require('log4js');

log4js.configure({
    appenders: [
        { type: "console"},
        {
            "type": "dateFile",
            "filename": "./logs/",
            "pattern": "yyyy-MM-dd.log",
            "alwaysIncludePattern": true
        }
    ],
});

let logger = log4js.getLogger('query-server');
logger.setLevel('DEBUG');

export default logger;
